package cn.onein.edu.web.service;

import java.util.Date;
import java.util.List;

import cn.onein.edu.biz.bean.SharedActions;
import cn.onein.edu.biz.bean.User;
import cn.onein.edu.biz.bean.UserDailyAction;

public interface UserCenterService {

	public abstract User getUserById(Long id);
	
	public abstract List<UserDailyAction> getDailyAction(Long userId);
	
	public abstract List<UserDailyAction> getInputDayDailyAction(Long userId,Date currDate);
	
	public abstract List<UserDailyAction> getPreDayDailyAction(Long userId,Date currDate);
	
	public abstract List<UserDailyAction> getNextDayDailyAction(Long userId,Date currDate);
	
	public abstract List<UserDailyAction> getPreWeekDailyAction(Long userId,Date currDate);
	
	public abstract List<UserDailyAction> getNextWeekDailyAction(Long userId,Date currDate);
	
	public abstract void insertBabyDaily(String content,Long userId,String actionDate,String actionResult);
	
	public abstract SharedActions insertShareAction(Long userId,String actionDate);
	
	public abstract void updateShareAction(Long userId,String actionDate,String shareBabyDaily);
	
	public abstract UserDailyAction getDailyAction(Long userId,String actionDate);
	
	public abstract SharedActions getShareActionByUUID(String uuid);
}
